<template>
	<view>
		<view class="page">
			<view class="example-body">
				<uni-nav-bar background-color="#003466" color="#ffffff" :status-bar="true" @click-left="back" left-icon="arrowleft">
					<view class="flex-item">值班详情</view>
				</uni-nav-bar>
			</view>
			<view>
				<view class="conter-header">值班领导</view>
				<view class="duty-leader">
					<view class="leader-detail">
						<view class="detail-p">
							<view class="leader-pic"><image src="../../../static/images/leader.png" mode=""></image></view>
						</view>
						<view class="leader-words">
							<view class="ledaer-left">
								<view class="left-logo"><image src="../../../static/images/name.png" mode=""></image></view>
								<view class="logo-name">张心如</view>
							</view>
							<view class="ledaer-right">
								<view class="left-logo"><image src="../../../static/images/area.png" mode=""></image></view>
								<view class="logo-name">指挥室</view>
							</view>
							<view class="ledaer-bottom">
								<view class="left-logo"><image src="../../../static/images/history.png" mode=""></image></view>
								<view class="logo-name">上次值班13天前</view>
							</view>
						</view>
					</view>
				</view>
				<view class="conter-header">值班人员</view>
				<view class="duty-leader">
					<view class="leader-detail">
						<view class="detail-p">
							<view class="leader-pic"><image src="../../../static/images/people.png" mode=""></image></view>
						</view>
						<view class="leader-words">
							<view class="ledaer-left">
								<view class="left-logo"><image src="../../../static/images/name.png" mode=""></image></view>
								<view class="logo-name">孙东风</view>
							</view>
							<view class="ledaer-right">
								<view class="left-logo"><image src="../../../static/images/area.png" mode=""></image></view>
								<view class="logo-name">设备房</view>
							</view>
							<view class="ledaer-bottom">
								<view class="left-logo"><image src="../../../static/images/history.png" mode=""></image></view>
								<view class="logo-name">上次值班02天前</view>
							</view>
						</view>
					</view>
				</view>
				<view class="conter-header">值班电话</view>
				<view class="duty-iphone">025-84826540</view>
				<view class="conter-header">值班时间</view>
				<view class="time">
					<view class="time-detail">
						<view class="time-information">
							<view class="time-left">上午-06:00-12:30</view>
							<view class="time-right">上午-12:30-19:00</view>
						</view>
						<view class="time-information">
							<view class="time-left">晚上-19:00-24:00</view>
							<view class="time-right">凌晨-24:00-06:00</view>
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
import uniNavBar from '@/components/uni-nav-bar/uni-nav-bar.vue';
import uniIcon from '@/components/uni-icon/uni-icon.vue';
export default {
	data() {
		return {};
	},
	methods: {
		back() {
			uni.navigateBack({
				delta: 1
			});
		}
	},
	components: {
		uniNavBar,
		uniIcon
	}
};
</script>

<style>
page {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	background-color: #F2F2F2;
}

.uni-navbar__header-btns{
	padding: 0;
}

.uni-navbar__header-btns:last-child{
	width: 120px;
}

.uni-navbar__content{
	position: fixed;
	z-index: 1;
}

.conter-header {
	width: 94%;
	font-size: 15px;
	margin: 0 auto;
	margin-top: 15px;
	color: #222222;
}

.duty-leader {
	width: 94%;
	height: 86px;
	background-color: #ffffff;
	margin: 0 auto;
	margin-top: 15px;
	border-radius: 3px;
	padding-top: 8px;
	padding-bottom: 8px;
}

.duty-leader .leader-detail {
	width: 100%;
	height: 100%;
	margin: 0 auto;
	position: relative;
}

.leader-detail .detail-p {
	width: 13%;
	height: 100%;
	float: left;
}

.leader-detail .leader-pic {
	width: 60px;
	height: 60px;
	border: 3px solid #b2c2d1;
	border-radius: 50%;
	position: absolute;
	top: 13px;
	left: 8px;
	overflow: hidden;
}

.leader-detail .leader-pic image {
	max-width: 100%;
	max-height: 100%;
}

.leader-detail .leader-words {
	width: 72%;
	height: 100%;
	float: left;
	position: relative;
}

.leader-words .ledaer-left {
	position: absolute;
	top: 20px;
	left: 5px;
}

.ledaer-left .left-logo {
	width: 19px;
	height: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	float: left;
}

.ledaer-left .left-logo image {
	max-width: 100%;
	max-height: 100%;
}

.ledaer-left .logo-name {
	color: #444444;
	font-size: 16px;
	float: left;
	margin-left: 11px;
}

.leader-words .ledaer-right {
	position: absolute;
	top: 20px;
	left: 200px;
}

.ledaer-right .left-logo {
	width: 17px;
	height: 21px;
	display: flex;
	justify-content: center;
	align-items: center;
	float: left;
}

.ledaer-right .left-logo image {
	max-width: 100%;
	max-height: 100%;
}

.ledaer-right .logo-name {
	color: #444444;
	font-size: 16px;
	float: left;
	margin-left: 11px;
}

.leader-words .ledaer-bottom {
	position: absolute;
	top: 50px;
	left: 5px;
}

.ledaer-bottom .left-logo {
	width: 21px;
	height: 21px;
	display: flex;
	justify-content: center;
	align-items: center;
	float: left;
}

.ledaer-bottom .left-logo image {
	max-width: 100%;
	max-height: 100%;
}

.ledaer-bottom .logo-name {
	color: #444444;
	font-size: 16px;
	float: left;
	margin-left: 11px;
}

.duty-iphone {
	width: 94%;
	margin: 0 auto;
	margin-top: 16px;
	background: #ffffff;
	font-size: 16px;
	color: #444444;
	text-indent: 16px;
	border-radius: 3px;
	overflow: hidden;
	padding-top: 24px;
	padding-bottom: 24px;
}

.time {
	width: 94%;
	background: #ffffff;
	margin: 0 auto;
	margin-top: 16px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 3px;
	overflow: hidden;
	padding-top: 14px;
	padding-bottom: 14px;
}

.time .time-detail {
	width: 90%;
	height: 50px;
}

.time-detail .time-information {
	width: 100%;
	height: 25px;
}

.time-information .time-left {
	width: 50%;
	font-size: 16px;
	color: #444444;
	float: left;
}

.time-information .time-right {
	width: 50%;
	font-size: 16px;
	color: #444444;
	float: left;
}

.flex-item {
	font-size: 20px;
	text-align: center;
}

.uni-icon {
	padding-left: 42%;
}
</style>
